
#include <stdio.h>

#include <event2/event.h>

int main()
{

    int i;
    const char **methods = event_get_supported_methods();
    printf("Starting Libevent %s.\nAvailable mothods are:\n", event_get_version());

    for (i = 0; methods[i] != NULL; ++i)
    {
        printf("\t%s\n", methods[i]);
    }

    return 0;
}